@mixin lay-height($length:0) {
    height: calc(100% - #{$length});
}


@mixin absolute-top($top:10) {
    position: absolute;
    top: $top;
}

@mixin pt($height:15px) {
    padding-top: $height;
}

@mixin right($top:0, $right:0, $bottom:0) {
    position: fixed;
    top: $top;
    right: $right;
    bottom: $bottom;
}

html,
body {
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

div {
    box-sizing: border-box;
}

ul,
li,
a {
    padding: 0;
    margin: 0;
    list-style: none;
    text-decoration: none;
    // color: #00B5DD;
}

.el-button.block{
    display: block;
    width: 100%;
}

.relative {
    position: relative;
}

.fix-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 999;
}

.fix-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.clear {
    clear: both;
}

.pd0 {
    padding: 0 !important;
}

.pdlr{
    padding:0 10px
}

.pdtb{
    padding:10px 0
}

.mr10{
    margin-right: 10px;
}

.mt10 {
    margin-top: 10px;
}

.mb10 {
    margin-bottom: 10px;
}

.center {
    margin-left: auto;
    margin-right: auto;
}

.flex{
    display: flex;
    flex-flow: row wrap;    
}

.fl{
    float: left;
}

.fr {
    float: right;
}



/* 页面框架 */
#app{
    height: 100%;
}

.h-full{
    height: 100%;
}

.el-main{
    height: 100%;
    background: #F5F8FB;

    .router-tab{
        height: 100%;

        .router-tab__header{
            background-color: #ffffff;
            border-bottom: 1px solid #F0F1F1;
            border-top-left-radius: 8px;
            border-top-right-radius: 8px;

            .router-tab__item{
                border-color: #ffffff;
            }

            .router-tab__item:first-child{
                border-top-left-radius: 8px;
            }

            .router-tab__item.is-active{
                border-bottom: 2px solid #409EFF!important;
                font-weight: bold;
            }

            .router-tab__item.is-active, .router-tab__item:hover{
                color: #409EFF;
            }    
        }

        .router-tab__container{
            height: calc(100% - 40px);
            overflow: hidden;
        }
    }
}

.el-side{
    height: calc(100% - 60px);
}
::-webkit-scrollbar {
width: 10px;
// height: 10px; // 高度写不写，都不影响，因为会根据内容的长度自动计算
}

::-webkit-scrollbar-thumb {
background: #e1e1e1;
border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
background: #999;
}
